package com.woniu.zsd.commons.core.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ZsdException extends RuntimeException {
    private Integer code;
    private String msg;

    public ZsdException(String message, Integer code) {


        super(message);
        this.code = code;
    }

    public String getMsg() {
        return super.getMessage();
    }

}